#ifndef __HAVE_PACMAN
#define __HAVE_PACMAN

#include "renderer.h"
#include "constants.h"
#include "actor.h"

class Pacman:public Actor
{
    int dots_eaten;
    int ghosts_eaten;
    int score;
    int times_died;
public:
    Pacman(Spritesheet * sheet = NULL, int _x = 13*TILE_SIZE+TILE_SIZE/2, int _y = 26*TILE_SIZE);
    void move();
    void roadblock_callback();
    int get_dots_eaten();
    int get_score();
    void eat_ghost();
    void die();
};

#endif
